package com.whfc.ms.api.md.service.impl;

import com.whfc.fvs.dto.FvsAnalysisDTO;
import com.whfc.fvs.service.FvsDeviceService;
import com.whfc.ms.api.md.service.MdFvsBoardService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @author: hw
 * @date: 2021-11-18 16:31
 * @description: 摄像头大屏
 */
@Service
public class MdFvsBoardServiceImpl implements MdFvsBoardService {

    @DubboReference(interfaceClass = FvsDeviceService.class, version = "1.0.0")
    private FvsDeviceService fvsDeviceService;

    @Override
    public FvsAnalysisDTO fvsAnalysis(Integer deptId) {
        return fvsDeviceService.analysis(deptId);
    }
}
